package com.examination.client.util;

/**
 * @BelongsProject: kuaiDiClient
 * @BelongsPackage: com.examination.client.util
 * @Author: tm
 * @CreateTime: 2022-10-21  16:54
 * @Description: TODO
 * @Version: 1.0
 */
public class CourierUtil {

    public static String getCourierName(String expressCode) {
        if (expressCode.contains("YT")) {
            return "圆通";
        }
        if (expressCode.startsWith("JT")) {
            return "极兔";
        }
        if (expressCode.startsWith("77")) {
            return "申通";
        }
        if (expressCode.startsWith("55")) {
            return "百世";
        }
        if (expressCode.startsWith("75") || expressCode.startsWith("78") || expressCode.startsWith("73")) {
            return "中通";
        }
        if (expressCode.startsWith("4")) {
            return "韵达";
        }
        if (expressCode.startsWith("98")) {
            return "邮政";
        }
        return "";
    }
}
